<?php

include_once('api.php');
include_once('joomla.php');
include_once('twitter.php');
include_once('authenticateFilter.php');

$pull=new Registrar();

JConnekt::registerListeners($pull);

pull->addFilter(new AuthenticateFilter('authKey','cryptKey'),'authenticate');
pull->registerDef('joomla.def'); // here this method accept a json. not a file.
pull->server();


